package com.kyle.silverbullet.client.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * @author kyle
 * @date 2020-07-23
 */
@TableName(value = "security.user", autoResultMap = true)
public class User extends BaseEntity {
    /**
     * 登录名
     */
    @TableField("name")
    private String name;
    /**
     * 是否过期
     */
    @TableField("expired")
    private boolean expired;
    /**
     * 是否禁用
     */
    @TableField("disabled")
    private boolean disabled;
    /**
     * 密码
     */
    @TableField("password")
    private String password;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public boolean isExpired() {
        return expired;
    }

    public void setExpired(boolean expired) {
        this.expired = expired;
    }

    public boolean isDisabled() {
        return disabled;
    }

    public void setDisabled(boolean disabled) {
        this.disabled = disabled;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
